﻿
using BCCommon;
using BCCommon.Enums;
using BCData.TMS.VehicleSuiteBusinessConfig;
using BCDto.TMS.VehicleSuiteBusinessConfig;
using BCDto.Sim.Admin.Admin;
using BCEntity.TMS.VehicleSuiteBusinessConfig;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BCCommon.TMS.Transport;

namespace BCService.TMS.VehicleSuiteBusinessConfig
{
	/// <summary>
	/// 车辆套餐业务配置
	/// </summary>
	public interface IVehicleSuiteBusinessConfigService
	{
		#region  成员方法
		/// <summary>
		/// 是否存在此记录
		/// </summary>
		/// <param name="vehicleSuiteBusinessConfigId">车辆套餐业务配置Id</param>
		bool Exists(int vehicleSuiteBusinessConfigId);
		/// <summary>
		/// 添加车辆套餐业务配置
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="requestDto">车辆套餐业务配置信息</param>
		VehicleSuiteBusinessConfigDto Add(AdminDto adminDto, VehicleSuiteBusinessConfigRequestDto requestDto);
		/// <summary>
		/// 更新车辆套餐业务配置
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="putDto">车辆套餐业务配置信息</param>
		VehicleSuiteBusinessConfigDto Update(AdminDto adminDto, VehicleSuiteBusinessConfigPutDto putDto);
		/// <summary>
		/// 获取车辆套餐业务配置
		/// </summary>
		/// <param name="vehicleSuiteBusinessConfigId">车辆套餐业务配置Id</param>
		VehicleSuiteBusinessConfigDto Get(int vehicleSuiteBusinessConfigId);
		/// <summary>
		/// 获取车辆套餐业务配置列表
		/// </summary>
		/// <param name="agentRecordId">代理商Id</param>
		IEnumerable<VehicleSuiteBusinessConfigDto> GetList(long agentRecordId);
		/// <summary>
		/// 获取车辆套餐业务配置列表(仅提供App使用)
		/// </summary>
		/// <param name="agentRecordId">代理商Id</param>
		/// <param name="countyCode">区县编码</param>
		/// <param name="vehicleTransportBusinessConfigId">车辆运输业务配置Id</param>
		IEnumerable<VehicleSuiteBusinessConfigDto> GetList(long? agentRecordId,string countyCode, int vehicleTransportBusinessConfigId);
		/// <summary>
		/// 获取车辆套餐业务配置分页列表
		/// </summary>
		/// <param name="agentRecordId">代理商Id</param>
		/// <param name="suiteBusinessName">套餐业务名称</param>
		/// <param name="provinceCode">省份编码</param>
		/// <param name="cityCode">城市编码</param>
		/// <param name="countyCode">区县编码</param>
		/// <param name="suiteBusinessType">套餐业务类型</param>
		/// <param name="enabled">启用/禁用</param>
		/// <param name="start">开始时间</param>
		/// <param name="end">结束时间</param>
		/// <param name="sortName">排序字段</param>
		/// <param name="ascending">升序</param>
		/// <param name="pageIndex">当前页码</param>
		/// <param name="pageSize">车辆套餐业务配置每页数据条数</param>
		PageableList<VehicleSuiteBusinessConfigDto> Query(long? agentRecordId,string suiteBusinessName, string provinceCode, string cityCode, string countyCode, VehicleSuiteBusinessType? suiteBusinessType, bool? enabled, DateTime? start, DateTime? end, string sortName, bool? ascending, int pageIndex, int pageSize);
		/// <summary>
		/// 启用车辆套餐业务配置
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="vehicleSuiteBusinessConfigId">车辆套餐业务配置Id</param>
		bool Enabled(AdminDto adminDto, int vehicleSuiteBusinessConfigId);
		/// <summary>
		/// 禁用车辆套餐业务配置
		/// </summary>
		/// <param name="adminDto">员工信息</param>
		/// <param name="vehicleSuiteBusinessConfigId">车辆套餐业务配置Id</param>
		bool Disabled(AdminDto adminDto, int vehicleSuiteBusinessConfigId);
		#endregion  成员方法
	}
}